package com.woniu.job.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.job.entity.Work;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author song
 * @since 2019-12-24
 */
@Component
public interface WorkMapper extends BaseMapper<Work> {

    public List<Work> getWorksMap();

    public List<Work> getWorksById(String id);

    public Work getCompWorkById(String id);

    public List<Work> getWorkByTime();

    public List<Work> getWorksByName(String name);
}
